/* Basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #e9e9e9;
  color: #222222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* Wrapper */
.wrapper {
  width: min(1200px, calc(100% - 2rem));
  margin: 2rem auto;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: #f7f7f7;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-block;
}

.logo {
  display: block;
  max-width: 490px;
  width: 100%;
  height: auto;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.top-links a {
  color: #9d2d23;
  text-decoration: none;
  font-weight: 600;
}

.top-links a:hover,
.top-links a:focus {
  text-decoration: underline;
}
.top-links img {
  width: 48px;
  height: 48px;
}

/* Navigation */
.site-nav {
  background: #3f9400;
  border-top: 1px solid #2f7600;
  border-bottom: 1px solid #2f7600;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: #2f7600;
}

/* Layout */
.content-area {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 2rem;
  padding: 2rem 1.75rem;
}

.main-content,
.sidebar {
  min-width: 0;
}

.page-content {
  min-width: 0;
}

/* Sidebar */
.sidebar-box {
  background: #f7f7f7;
  border: 1px solid #dddddd;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-box a {
  color: #9d2d23;
  text-decoration: none;
}

.sidebar-box a:hover,
.sidebar-box a:focus {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 1.25rem 1.75rem;
  background: #efefef;
  border-top: 1px solid #d7d7d7;
}

/* Typografie */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #9d2d23;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2b2b2b;
  font-size: 1rem;
}

a {
  color: #9d2d23;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Presseteam */
.press-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.press-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f7f7f7;
  border: 1px solid #dddddd;
  padding: 1rem;
}

.press-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1rem;
  background: #e3e3e3;
}

.press-card h2 {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.press-card p {
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
}

.press-role {
  font-weight: 700;
  color: #3f7f1e;
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
  }

  .top-links {
    justify-content: flex-start;
  }

  .content-area {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .logo {
    max-width: 360px;
  }

  .site-nav a {
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 600px) {
  .wrapper {
    width: min(100%, calc(100% - 1rem));
    margin: 0.5rem auto;
  }

  .site-header,
  .content-area,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    max-width: 280px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    width: 100%;
  }

  .press-team {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 368px){
	.press-team {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}


.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.map-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.squircle {
  border-radius: 35px;
  corner-shape: squircle;
}

.boxshadow {
  filter: drop-shadow(2px 3px 8px #cccddd);
}
.width70 {
  max-width: 70%;
}

article {
  margin-bottom: 2em;
  padding-top: 2em;
}
