/* style Planertreff 11.8.2026 upload responsive/ Korrekturen Claude 25.8. / Stand 19.9.26 */

html { height: 100%; font-size: 100%; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; line-height: 1.5; }

body { background-color: lightgrey; color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 1em; display: grid; place-items: center; 
  /* RESPONSIVE ANPASSUNG: */
  max-width: 100em; /* Maximal 40em Gesetz, 50em Standard, 100em Galerie */ min-height: 10vh; z-index: 1;
  width: 100%; padding: 0 15px; margin: 0 auto; text-align: left; overflow-x: hidden; }

@media screen and (max-width: 768px ) { body { background-color: lightgrey; } } /*= 48 em */
@media screen and (min-width: 768px) and (max-width: 1024px) { body { background-color: lightgrey; } } /* 769px - 1024px Breite = 48- 64 em */
@media screen and (min-width: 1024px) { body { background-color: lightgrey; } } /* = 64 em : PC, Laptop */

/* Seitentyp */
.text, .mix, .galerie { margin: 0 auto; background: white; }
.text    {max-width: 40em; padding: 0 1.3em;}  /* 640 px; Gesetz */
.mix     {max-width: 50em; padding: 0 1.3em;}  /* 800 px; Standard */
.galerie {max-width: 100em; padding: 0 1.3em;} /* 1600px; Galerie PC/Monitor */

/* full bleed */
.full-bleed { position: relative; left: 50%; transform: translateX(-50%); transform: translateX(-50%); width: 100vw; background-image: url('../images/wolke7.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; margin-top: 0; margin-bottom: 0; z-index: -1; }

/* Skip-Link */
.skip-link { position: absolute; left:-999px; top: 12px; padding: .7rem 1rem; background: white; color: black;
  border: 1px solid darkgrey; border-radius: 0; z-index: 9999; }
.skip-link:focus {left: 0; top: 0; outline: 3px solid darkblue; text-decoration: underline;}

/* Wurger-Menü */
.nav-toggle { display: none; } /* Checkbox unsichtbar, merkt nur auf/zu */
.nav-toggle-btn { display: block; width: 44px; height: 44px; padding: 0; margin-top: 42px; margin-left: auto; cursor: pointer; border: 0; background: white; }
.nav-toggle-btn img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* am Handy erst zu, Links untereinander */
.nav-menu { display: none; }
.nav-menu b, .nav-menu a { display: block; padding: 6px 4px; margin: 2px 0; border: 1px solid darkgrey; background: white; }  /* padding vorher 8px 4px; border wäre gut */
/* Haken drin, Menü da - das ist der ganze Trick */
.nav-toggle:checked ~ .nav-menu { display: block; }
/* am Monitor ohne Wurger, Links als normale Zeile */
@media (min-width: 790px) { .nav-toggle-btn { display: none; } .nav-menu { display: block; } .nav-menu b, .nav-menu a { display: inline; padding: 4px 3px; }  } /* Ende Wurger */

/* ariadne */
.breadcrumbs { background-color: skyblue; padding: 0.4em; margin: 15px 0 3px 0; }

/* header */
.header { font-size: 1rem; }

/* Überschriften-Größen */
p  { font-size: 1.0em; line-height: 1.5; margin-bottom: 0.5em; text-align: left }
h1, h2, h3, h4 {margin-top: 0.9em; margin-bottom: 0.5em; font-weight: bold;}
h1 {font-size: 1.5em; line-height: 1.8;}
h2 {font-size: 1.25em; line-height: 1.55;}
h3 {font-size: 1.1em; line-height: 1.4;}
h4 {font-size: 1.0em; line-height: 1.3;} 

/* Vergrößerung / Verringerung Abstand */
p + h3 {margin-top: +0.4em;}
img + p {margin-top: -0.4em;}

/* lange Komposita / Gesetzesnamen sauber umbrechen / von CLAUDE für STADTGRENZE 27.8.2026 */
p, li, dd, td, h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Links barriere-arm */
a:link    {color: midnightblue; text-decoration: underline; text-underline-offset: 3px;}
a:visited {color: darkred; text-decoration: underline;}
a:hover, a:focus {color: mediumblue;}
@media (hover: hover) { a:hover { color: steelblue; text-decoration: none; } }
a:active  {color: darkred; text-decoration: underline;}
a:focus-visible { outline: 3px solid blue; outline-offset: 2px; }  /* für Barrierefreiheit */
.linklist  { list-style: none; line-height: 2; padding: 0; margin: 0; gap: 1.8rem; } /* line-height funzt nicht wie ich wil */

/* Meine Textauszeichnungen */
.bold, .b, b {font-weight: bold;}
.caption {font-size: 0.8em; line-height: 1.2; margin-top: -1em; } /* bildunterschrift */
.em      {font-weight: bold;} /* SEO: mehr Bedeutung als bold */
.fltlft  {float: left; margin-right: 8px;}
.fltrt   {float: right; margin-left: 8px;}
.halb    {line-height: 0.3;}
.italic, .i, i  {font-style: italic;}
.mark, .marker  {background-color: #FF0;}  /* knallgelb */
.mini    {font-size: 0.8em; line-height: 1.1;}
.small   {font-size: 0.9em; line-height: 1.2;}
.strong  {letter-spacing: 3px;} 
.underline, .u, u {text-decoration: underline;}
.zitat   {font-style: italic; font-size: 1em;}

/* Eingerückt, 15 und lit rausgeworfen */
.hang30  {padding-left: 30px; text-indent:-30px;} /* auch f. Literatur */
.hangdat {padding-left: 80px; text-indent:-80px;}

/* KI : Responsive Bilder und Medien */
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* KI: Responsive Floats (Layout-Kollaps auf Mobilgeräten verhindern) */
.fltlft { float: left; margin-right: 15px; margin-bottom: 10px; }
.fltrt  { float: right; margin-left: 15px; margin-bottom: 10px; } 

/*  Media queries für Handys)  */
@media screen and (max-width: 480px) { .fltlft, .fltrt { float: none; display: block; margin: 10px auto; text-align: center; } 
body { font-size: 1.05em; } }  
  
/* Standard für Smartphones */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 15px; align-items: start; }

/* Ab Tablets und PCs (ab 768px Breite): Nebeneinander --- von KI */
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr repeat(3, minmax(0, 1fr)); gap: 3px; } }

/* Print-Ansicht: .noprint sichtbar, aber nicht druckbar: Regel greift NUR bei Ausdruck und Speicherung als PDF */
@media print { .noprint { display: none !important; } }

/* Flächen und Rahmen */
.panel, .hinweis, .recht, .wiese { padding: 0.4em; margin: 1em 0 1em 0; font-size: 1em;}
.panel  { background-color: wheat; font-family: 'courier new', monospace; line-height: 1.2; }
.hinweis { background-color: #eee; font-family: 'courier new', monospace; line-height: 1.2; }
.recht  { padding: 0.2em 0.6em; border: 4px solid red; line-height: 1.5;}
.wiese  { background-color: #DDFFDD; line-height: 1.2;}

/* Randbalken links */
.rabal-rot, .rabal-gesetz, .rabal-komment, .rabal-links {padding: 0 0 0 1rem;}
.rabal-gesetz  {border-left: grey 6px solid;} 
.rabal-komment {border-left: grey 6px dotted; font-style: italic;}
.rabal-links {border-left: blue 5px solid;}
.rabal-rot {border-left: red 6px solid; }

/* Gliederungselement */
hr { border: 0; border-top: 3px solid grey; margin-top: 0.7rem; margin-bottom: 0.7rem; background-color: transparent; width: 100%; height: 0; }
hr.red { border-top: 3px solid red; width: 25%; } 
hr.null { border-top: 4px solid transparent; } /* durchlaufende Trennlinie unsichtbar */
hr.footy { border: 0; border-top: 3px solid blue; margin: 1.5rem 0 1rem 0; background-color: transparent; width: 150px; height: 0; }

/* Fußnote fnr=Nummer, fnb= zurück zu Text */
.fnr {font-size: 0.7em; vertical-align: super; position: relative; bottom: 0.3em;}

/* search - Seite braucht noch Gestaltung der buttons */
button[type="submit"] { background-color: #007bff; color: black; padding: 10px 20px; font-size: 16px; cursor: pointer; transition: background 0.3s ease; }
button[type="submit"]:hover { background-color: #0056b3; }
button[type="submit"]:active { transform: scale(0.98); }

/* Sucheingabe in search.html */
.suche { max-width: 400px; margin: 2rem auto; font-family: sans-serif; }

/* Tabellen - erstmal nur für buero/team.hmtl; vorlage siehe (2026) "0708 wg Tabellen" */

.table-container { overflow-x: auto; width: 100%; } /* overflow : horizontales Scrollen auf kleinen Bildschirmen */
table { width: 100%; table-layout: fixed; } /* fixed: definierte Breiten nutzen */
/* thead { padding: 1.5 1 1 1; }  Tabellenkopf */
td { border: none; vertical-align: top; }
td:first-child { width: 16%; vertical-align: top; } /* Linke Spalte hervorheben; Hintergrundfarbe */
td:last-child { width: 84%; word-break: normal; overflow-wrap: anywhere; } 
/* Responsiv: Unter 600px Bildschirm untereinander */
@media (max-width: 600px) { table, tbody, tr, td { display: block; width: 100%; }
 td { border-bottom: none; } /* Doppelte Ränder entfernen */
 td:first-child { border-bottom: none; }
 td:last-child { border-bottom: 1px solid #fff; }  }

/* Footer */
.site-footer  { background: white; font-size: 0.9rem; padding: 1.1rem 0 1.2rem 0; margin: 0.3rem 0 2rem 0; }
.footer-grid  { display:grid; grid-template-columns: repeat(4, (187px, 1fr)); gap: 3px; align-items:start; } /* Safari braucht n'patch  */
.footer-title { margin: 0rem; font-size: 0.9rem; font-weight: 900; padding: 0 0 0.8rem 0; }
.footer-links { list-style:none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-links a { color: midnightblue; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.footer-links a:hover { color: #F00; text-decoration: underline; }

/* #auffi */
#scrollToTopButton {position: fixed; bottom: 20px; right: 20px; cursor: pointer; z-index: 100; display: none;} 
#scrollToTopButton:hover { opacity: 0.8; }  /* opacity nach Claude wg {} engefügt */

/* DRUCK-ANSICHT */
@media print { .noprint 
  { display: none !important; }  /* Elemente, die nur am Bildschirm sichtbar sein sollen */
body { display: block !important; place-items: unset !important; }
.footer-grid { display: block !important; }
body, html, .text, .mix, .galerie, .old { width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    margin: 0 !important; padding: 0 !important; background: transparent !important; }   /* Breiten/Abstände für Papier zurücksetzen */
p, span, a, h1, h2, h3, h4, li { overflow: visible !important; overflow-wrap: break-word !important;
    word-break: normal !important; white-space: normal !important; }  /* Textumbruch statt Abschneiden */
.fltlft, .fltrt { float: none !important; width: 100% !important; margin: 10px 0 !important; }  /* Floats auf Papier untereinander statt nebeneinander */
.full-bleed { position: static !important; transform: none !important; width: 100% !important; } /* full-bleed (transform + 100vw) kann die Seitenaufteilung zusätzlich stören */
p, li, h1, h2, h3, h4, h5, h6, tr, td, .panel, .hinweis, .recht, .wiese, .dontsplit { break-inside: avoid; page-break-inside: avoid; } /* Gegen Durchschneiden von Absätzen, Listen, Überschriften, Tabellenzeilen, Container; lezteres Fallback für ältere Firefox-Versionen */
p { orphans: 3; widows: 3; }  }  /* Ende Druck-Ansicht */
  
/* Fußzeile nur im Ausdruck - important eingefügt 19.9.*/  
@media screen { .fuss { display: none; } }
@media print { .fuss { display: block } } 
