@import url("https://fonts.googleapis.com/css2?family=Karla:wght@300;400;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
 height: 100%;
}
/* 
grau: #adb5bd;
weiss: #fff;

  --hk-weiss: #fffaf0;
  --hk-grau: #4e4d4a;
*/

:root {
  --hk-weiss: #f6f6f6;
  --hk-grau: #6b7a8f;
  --hk-grau-dunkel: #e9e9e9;
}

body {
  display: grid;
   grid-template-rows: auto 1fr auto;
  height: 100%; /* wichtig damit der mittlere Bereich 1fr sich ueber die gesamte hoehe erstreckt  */
  font-family: "Karla", sans-serif;
  font-size: 1.2rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
  background: #fff;
  background: #fffaf0;
  background-color: var(--hk-weiss);
}


.wrapper {
	height: auto; 
	min-height: 100%;
}

header {
  /* margin: 20px auto 10px;  abstand header h1 zur nav */
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8rem;
  background-color: var(--hk-grau);
  margin: 0;
  padding-top: 32px;
  padding-top: 28px; /* abstand nach oben */
  padding-bottom: 15px;
}

header h1 {
  font-size: 25px;
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 0px;
  padding-bottom: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
header h1 a {
  color: #fff;
  color: var(--hk-weiss);
  text-decoration: none;
}
header h1 a.current {
  cursor: default;
}

header h1 a:hover {
  color: #333;
  color: var(--hk-grau-dunkel);
  text-decoration: none;
}

/*
main {
	min-height: 100vh;
} */

main p {
  padding: 0.6em 0;
}

main .container-1160 {
  max-width: 1160px;
  margin: 3em auto; /* siehe wrapper zeile 27 */
  padding: 0em;
  border: 0px solid silver;
  display: grid;
  grid-template-columns: 300px 810px;
  grid-gap: 48px;
  justify-content: space-between;
}

main .container-1160-einspaltig {
  max-width: 1160px;
  margin: 3em auto; /* siehe wrapper zeile 27 */
}

main .container-1160 li {
  margin-bottom: 1.5em;
}

main .container {
  max-width: 1300px;
  margin: 3em auto; /* siehe wrapper zeile 27 */
  padding: 0em;
}

main .container-reise {
  max-width: 1300px;
  margin: 3em auto;
  padding: 0em;
}

main .container-presse {
  max-width: 1160px;
  margin: 3em auto;
  padding: 0em;
  font-size: 20px;
}

.texte {
  display: grid;
  grid-template-columns: 230px 230px 230px 230px 230px;
  grid-gap: 25px;
  justify-content: space-between;
}

.reise {
  display: grid;
  grid-template-columns: 400px 400px 400px;
  grid-gap: 48px;
  justify-content: space-between;
}

.pressearbeit {
  display: grid;
  grid-template-columns: 300px 300px 300px 300px;
  grid-template-columns: 250px 250px 250px 250px;
  grid-gap: 50px;
  justify-content: space-between;
}

.fetty {
  font-weight: normal;
}

.texte a[href$=".pdf"],
.pressearbeit a[href$=".pdf"] {
  padding: 0;
  background: none;
}

a[href$=".pdf"] {
  padding: 5px 22px 5px 0px;
  background: transparent url(../img/icon_pdf.gif) no-repeat center right;
}

.texte li h2,
.reise li h2 {
  font-size: 16px;
  text-align: left;
  font-weight: normal;
  padding-bottom: 0.75em;
}

.texte li p:nth-of-type(2) {
  border: 0px double gainsboro;
  border-radius: 2px;
}
.texte li img {
  width: 230px;
  height: 350px;
  border: 1px solid silver;
}

.texte li {
  width: 230px;
  padding: 0px;
  margin-bottom: 30px;
  list-style-type: none;
  font-size: 16px;
}

.reise li img {
  width: 400px;
  height: 258px;
  border: 1px solid silver;
}

ul.pressearbeit {
  margin: 2em 0;
}

.pressearbeit li img {
  width: 250px;
  height: 358px;
  border: 1px solid silver;
}

.texte p,
.texte h2,
.reise p,
.reise h2 {
  /* fuer text-overflow: */
  white-space: nowrap;
  overflow: hidden;
  line-clamp: 1;
}

.texte p,
.reise p,
.pressearbeit {
  padding: 0;
}

.texte h2,
h2 {
  font-weight: normal;
}

.overflow-ellipsis {
  text-overflow: ellipsis;
}

ul.pagination {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  justify-content: flex-end;
  margin-right: 0;
}

.container-reise ul.pagination {
  margin-right: 4px;
  margin-top: 2em;
}

.pagination li a {
  width: 40px;
  text-decoration: none !important;
  color: #333;
  background: #fff;
  display: inline-block;
  padding: 6px 12px;
  justify-content: center;
  text-align: center;
  border: 1px solid silver;
  border-radius: 4px;
  margin-left: 12px;
}

.pagination li a:hover {
  text-decoration: none;
  color: var(--hk-weiss);
  background: #333;
}

.pagination li a.current {
  text-decoration: none;
  color: var(--hk-weiss);
  background: #333;
  cursor: pointer;
}

hr {
  background: #999;
  background: #dadada;
  border: 0;
  height: 1px;
  clear: both;
  display: block;
  margin-bottom: 24px;
}

nav {
  background-color: var(--hk-grau);
  padding-bottom: 2em; /* abstand nach unten */
}

nav ul {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0; 
  padding: 0;
  text-align: center;
  border-bottom: 0px solid #999;
}

nav ul li {
  display: inline;
  padding-right: 30px;
}
nav ul li a {
  color: var(--hk-weiss);
  text-decoration: none;
}
nav ul li a:hover {
  color: #fff;
  color: var(--hk-grau-dunkel);
  text-decoration: none;
}
nav ul li a.current {
  color: #fff;
  color: var(--hk-grau-dunkel);
  text-decoration: none;
  cursor: default;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  padding: 2em;
  background-color: var(--hk-grau);
  color: #fff;
  border-top: 1px solid gray;
  grid-template-columns: 300px 300px 300px;
  justify-content: space-around;
  padding: 3em 0;
  margin-top: 4em;
}

footer .container div {
  /*
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 300px;
    */
  margin-bottom: 1em;
  padding: 1em;
  justify-content: space-around;
}

/* footer links */
footer a:link {
  color: var(--hk-weiss);
  text-decoration: none;
}
footer a:visited {
  color: var(--hk-weiss);
}

footer a:hover {
  color: var(--hk-weiss);
  text-decoration: underline;
}

footer a:focus {
  color: var(--hk-weiss);
}
footer a:active {
  color: var(--hk-weiss);
}

footer a {
  /* sonst reisst es eine luecke in die links im footer */
  display: inline-block;
}

#content a:link,
main a:link {
  color: #006285;
  text-decoration: underline;
}
#content a:visited,
main a:visited {
  color: #006285;
  text-decoration: underline;
}
#content a:focus,
main a:focus {
  color: #006285;
  text-decoration: underline;
}
#content a:hover,
main a:hover {
  color: #006285;
  text-decoration: none;
}
#content a:active,
main a:active {
  color: #006285;
  text-decoration: underline;
}

@media screen and (max-width: 39.9375em) {
  .texte,
  .reise,
  .container,
  .pressearbeit,
  .container-1160 {
    grid-template-columns: 1fr;
  }

  .container-1160 {
    grid-template-columns: 1fr !important;
  }

  main {
    padding: 0 0.6em;
  }

  img.detroit {
    width: 100%;
  }

  p.presse-p-small {
    width: 100% !important;
  }
}
