/*
Theme Name: Tonis Gebäudereinigung
Theme URI: https://example.com/
Author: OpenAI
Description: Responsives WordPress-Theme für Tonis Gebäudereinigung mit Gartenservice und Hausdienstleistungen. Klassisches, strukturiertes Layout in Weiß und Grün.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tonis-gebaeudereinigung
*/
:root {
  --tonis-green: #087a50;
  --tonis-green-dark: #064d3b;
  --tonis-green-light: #eef7f3;
  --tonis-navy: #123c59;
  --tonis-text: #183b50;
  --tonis-muted: #5b7180;
  --tonis-border: #dce6e9;
  --tonis-white: #fff;
  --tonis-bg: #f7faf9;
  --tonis-radius: 7px;
  --tonis-shadow: 0 8px 24px rgba(18, 60, 89, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tonis-text); background: var(--tonis-white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--tonis-green); text-decoration: none; }
a:hover, a:focus { color: var(--tonis-green-dark); text-decoration: underline; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--tonis-border); position: relative; z-index: 10; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--tonis-navy); min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; color: var(--tonis-green); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-size: 27px; font-weight: 800; letter-spacing: -.6px; }
.brand-subtitle { font-size: 12px; color: var(--tonis-green-dark); margin-top: 4px; }
.custom-logo { max-height: 70px; width: auto; }
.main-navigation ul { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: var(--tonis-text); font-size: 14px; font-weight: 600; }
.main-navigation a:hover { color: var(--tonis-green); }
.header-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 5px; padding: 12px 20px; background: var(--tonis-green);
  color: #fff; font-weight: 700; line-height: 1.25; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.header-cta:hover, .button:hover { background: var(--tonis-green-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.menu-toggle { display: none; border: 1px solid var(--tonis-border); border-radius: 5px; background: white; padding: 9px 12px; color: var(--tonis-navy); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 360px; background: var(--tonis-green-light); }
.hero-media { min-height: 360px; background: linear-gradient(135deg, #cddfd5, #9ab7a8); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.image-placeholder { height: 100%; min-height: 360px; display: grid; place-items: center; color: #315f4d; text-align: center; padding: 30px; background: linear-gradient(135deg, #dbe9e1, #9ebdad); }
.hero-content { padding: clamp(30px, 5vw, 68px); align-self: center; }
.eyebrow { color: var(--tonis-green-dark); font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { color: var(--tonis-navy); line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -1.2px; margin-bottom: 15px; }
h2 { font-size: clamp(25px, 3vw, 32px); letter-spacing: -.5px; margin-bottom: 12px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.hero h1 span { color: var(--tonis-green); display: block; font-size: .72em; letter-spacing: -.5px; margin-top: 5px; }
.hero p { max-width: 580px; margin: 0 0 22px; }
.section { padding: 52px 0; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading:after { content: ""; display: block; width: 48px; height: 3px; background: var(--tonis-green); margin-top: 12px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { border: 1px solid var(--tonis-border); border-radius: var(--tonis-radius); padding: 24px 21px; background: #fff; box-shadow: 0 2px 6px rgba(18,60,89,.025); }
.service-icon { color: var(--tonis-green); width: 42px; height: 42px; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; }
.service-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.service-card li { position: relative; padding-left: 22px; margin: 5px 0; color: var(--tonis-muted); font-size: 14px; }
.service-card li:before { content: "✓"; position: absolute; left: 0; color: var(--tonis-green); font-weight: 900; }
.about-band { display: grid; grid-template-columns: 70px 1fr .75fr; align-items: center; gap: 24px; padding: 18px; background: var(--tonis-green-light); border-radius: var(--tonis-radius); }
.about-symbol { color: var(--tonis-green); width: 60px; height: 60px; }
.about-band p { margin-bottom: 0; }
.about-photo { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; background: #dbe9e1; }
.feature { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 300px; background: #f6f7f5; }
.feature-copy { padding: clamp(30px, 5vw, 65px); align-self: center; }
.feature-photo { min-height: 300px; background: linear-gradient(135deg, #e6e9df, #aebcae); }
.feature-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.benefit { text-align: center; padding: 18px; border-right: 1px solid var(--tonis-border); }
.benefit:last-child { border-right: 0; }
.benefit svg { width: 40px; height: 40px; color: var(--tonis-green); margin-bottom: 8px; }
.benefit h3 { font-size: 16px; margin-bottom: 4px; }
.benefit p { color: var(--tonis-muted); font-size: 13px; margin: 0; }
.cta-band { background: var(--tonis-green-dark); color: #fff; padding: 38px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta-band h2 { color: #fff; margin-bottom: 7px; }
.cta-band p { margin: 0; color: #e0eee8; }
.cta-band .button { background: #fff; color: var(--tonis-green-dark); }
.site-footer { background: #064d3b; color: #e9f4ef; }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 28px; padding: 34px 0; align-items: center; }
.footer-main h3 { color: #fff; margin-bottom: 8px; }
.footer-main p { margin: 4px 0; font-size: 14px; }
.footer-main a { color: #fff; }
.footer-slogan { font-family: Georgia, serif; font-style: italic; font-size: 25px; text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.22); padding: 14px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.content-area { padding: 48px 0 64px; }
.entry-content { max-width: 850px; }
.entry-content > * { margin-bottom: 1.2em; }
.entry-title { margin-bottom: 20px; }
.post-list { display: grid; gap: 24px; }
.post-card { border: 1px solid var(--tonis-border); padding: 24px; border-radius: var(--tonis-radius); }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 18px 20px; border-bottom: 1px solid var(--tonis-border); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 15px; }
  .hero { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 280px; max-height: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-band { grid-template-columns: 60px 1fr; }
  .about-photo { grid-column: 1 / -1; height: 190px; }
  .feature { grid-template-columns: 1fr; }
  .feature-photo { order: -1; min-height: 230px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-slogan { text-align: left; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 22px; }
  .brand-subtitle { font-size: 10px; }
  .hero-content { padding: 30px 22px 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 38px 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--tonis-border); }
  .about-band { grid-template-columns: 1fr; }
  .about-symbol { width: 46px; height: 46px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-slogan { font-size: 22px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; }
}
