:root {
  --bg: #f2e2dc;
  --fg: #211d1c;
  --muted: #6f6663;
  --accent: #c08e74;
  --accent-dark: #2a2422;
  --card: #f9f1ed;
  --border: #e0cfc7;
  --link: #2a2422;
  --link-hover: #14100f;
  --maxw: 780px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Inter", "Neue Haas Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(249, 241, 237, .9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: box-shadow .25s ease;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.header-image-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.header-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.brand h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.brand-link {
  color: inherit;
  text-decoration: none;
}
.brand-link:hover,
.brand-link:focus {
  color: inherit;
}

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--fg);
}

.topnav {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.topnav a:hover,
.topnav a:focus {
  color: var(--link-hover);
}
.topnav.show {
  display: flex;
}

@media (min-width: 640px) {
  .menu-toggle { display: none; }
  .topnav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 0;
  }
}

/* Inhalt */
main {
  padding: 7.5rem 1rem 3.5rem;
}
.card:first-of-type {
  margin-top: 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 12px 32px rgba(33, 29, 28, .06);
}
.card + .card {
  margin-top: 1.75rem;
}
.callout {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  background: rgba(192, 142, 116, .12);
  border: 1px solid rgba(192, 142, 116, .28);
  font-weight: 500;
}
.project-grid {
  display: flex;
  flex-direction: column;
}
.project-item + .project-item {
  margin-top: 1.6rem;
}
.project-item h3 {
  margin: 0 0 0.6rem 0;
}
.project-item:first-child {
  margin-top: 1.2rem;
}
.hero-card h2 {
  font-size: 1.85rem;
  line-height: 1.3;
}
.hero-card p {
  max-width: 34rem;
}

h1, h2, h3 {
  font-family: "Inter", "Neue Haas Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.45rem;
  font-weight: 600;
}
h3 {
  margin: 1.25rem 0 .5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--muted);
  margin: 0 0 .6rem 0;
}
p {
  margin: .35rem 0 .75rem;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}
ul {
  padding-left: 1.1rem;
  margin: .25rem 0 .75rem;
}
ul li {
  margin-bottom: .35rem;
}
address {
  font-style: normal;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  margin-top: 1.25rem;
}
.contact-pill-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .75rem;
  align-items: flex-start;
}
.contact-pill-list .contact-pill {
  width: 100%;
  justify-content: center;
}
.email-address {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.email-address:hover,
.email-address:focus {
  color: var(--fg);
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease;
}
.contact-pill:hover,
.contact-pill:focus {
  text-decoration: none;
}
.mail-pill {
  background: var(--accent-dark);
  color: #f7efe9;
  box-shadow: 0 8px 20px rgba(33, 29, 28, .18);
}
.mail-pill:hover,
.mail-pill:focus {
  background: var(--accent);
  color: #231f1d;
}
.phone-pill {
  background: var(--accent-dark);
  color: #f7efe9;
  box-shadow: 0 8px 20px rgba(33, 29, 28, .12);
}
.phone-pill:hover,
.phone-pill:focus {
  background: #b87d61;
  color: #fef8f4;
}
.mail-icon,
.phone-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.phone-icon {
  color: inherit;
}

.phone-link {
  color: var(--link);
  font-weight: 600;
}
.phone-link:hover,
.phone-link:focus {
  color: var(--link-hover);
}

.info-grid {
  display: grid;
  gap: 1rem;
}
#kontakt {
  scroll-margin-top: 7.5rem;
}
body.footer-visible header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 16px 36px rgba(33, 29, 28, .15);
}
body.footer-visible main {
  padding-top: 9.25rem;
}
@media (min-width: 560px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.info-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.35);
}
.info-card strong {
  display: block;
  margin-bottom: .35rem;
  font-size: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
}
.legal-text {
  font-size: 1rem;
  color: var(--fg);
}
.legal-name {
  font-weight: 600;
}
.legal-role {
  color: var(--muted);
}
.legal-brand {
  color: var(--muted);
  text-decoration: none;
}
.legal-brand:hover,
.legal-brand:focus {
  color: var(--fg);
  text-decoration: underline;
}
.legal-links {
  font-size: 1rem;
  color: var(--muted);
}
.legal-links a {
  color: inherit;
  text-decoration: none;
}
.legal-links a:hover,
.legal-links a:focus {
  text-decoration: underline;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
